"""
Path 类型定义

@mcpy_headers: <filesystem>
@mcpy_namespace: std::filesystem
"""


class path:
    """C++ std::filesystem::path 类型"""

    def __init__(self, path_str: str) -> None:
        """构造函数"""
        pass

    def __str__(self) -> str:
        """转换为字符串"""
        ...

    def filename(self) -> "path":
        """获取文件名"""
        ...

    def extension(self) -> str:
        """获取扩展名"""
        ...

    def parent_path(self) -> "path":
        """获取父路径"""
        ...

    def is_absolute(self) -> bool:
        """是否为绝对路径"""
        ...

    def is_relative(self) -> bool:
        """是否为相对路径"""
        ...
